#

| Chapter 20 Program Debugging |

## stop

    stop restriction [if cond]

Stop execution if specified `restriction` is true. See trace about `cond`.

### Restriction

at `n`

  Source line `n` is reached.

if `cond`

  Condition `cond` is true.

in `func`

  Procedure or function `func` is called.

inclass `class`

  Each method of C++ class is called.

infunction `func`

  Top-level function in a C++ module is called.

inmethod `member`

  Named `member` of any C++ class is called.

var

  Variable `var` has changed.

Reference: stepi |  | Reference: stopi